package org.fanfan.struts.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class LazyFormAction extends Action {

	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {
		/*LazyValidatorForm lazyForm = (LazyValidatorForm) form;
		String firstName = (String) lazyForm.get("firstName");
		String lastName = (String) lazyForm.get("lastName");
		String []friends = new String[3];
		friends[0] = (String) lazyForm.get("friends[0]");
		friends[1] = (String) lazyForm.get("friends[1]");
		friends[2] = (String) lazyForm.get("friends[2]");*/
		return mapping.findForward("lazyForm");
	}
}
